package com.otitan.la.forest.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.otitan.la.forest.system.dto.UserRoleDTO;
import com.otitan.la.forest.system.entity.UserRoleEntity;
import com.otitan.webapp.framework.basepro.model.DataResult;
import org.springframework.validation.BindingResult;

/**
 * 用户角色关系表
 *
 * @author jiacs
 * @email xxx
 * @date 2020-09-15 10:34:18
 */
public interface UserRoleService extends IService<UserRoleEntity> {
    /**
     * 新增
     *
     * @return
     */
    DataResult add(UserRoleDTO dto, BindingResult bindingResult);

    /**
     * 批量删除
     *
     * @return
     */
    DataResult batchDelete(UserRoleDTO dto, BindingResult bindingResult);

}

